package bean;

import java.util.Date;

public class Student {
    private String  studentid;           //学生号
    private String  studentname;//学生姓名
    private String  major;  //学生号专业
    private String  gender; //学生性别
    private String  department; //学生学院
    private String  classes; //学生班级
    private String  dormitoryid; //学生宿舍号
    private String  phoneid;//电话
    private Date entrytime;//学生时间
    private String  username;//学生账号
    private String  password;//学生密码

    public Student() {
    }

    public Student(String studentid, String studentname, String major, String gender, String department, String classes, String dormitoryid, String phoneid, Date entrytime, String username, String password) {
        this.studentid = studentid;
        this.studentname = studentname;
        this.major = major;
        this.gender = gender;
        this.department = department;
        this.classes = classes;
        this.dormitoryid = dormitoryid;
        this.phoneid = phoneid;
        this.entrytime = entrytime;
        this.username = username;
        this.password = password;
    }

    /**
     * 获取
     * @return studentid
     */
    public String getStudentid() {
        return studentid;
    }

    /**
     * 设置
     * @param studentid
     */
    public void setStudentid(String studentid) {
        this.studentid = studentid;
    }

    /**
     * 获取
     * @return studentname
     */
    public String getStudentname() {
        return studentname;
    }

    /**
     * 设置
     * @param studentname
     */
    public void setStudentname(String studentname) {
        this.studentname = studentname;
    }

    /**
     * 获取
     * @return major
     */
    public String getMajor() {
        return major;
    }

    /**
     * 设置
     * @param major
     */
    public void setMajor(String major) {
        this.major = major;
    }

    /**
     * 获取
     * @return gender
     */
    public String getGender() {
        return gender;
    }

    /**
     * 设置
     * @param gender
     */
    public void setGender(String gender) {
        this.gender = gender;
    }

    /**
     * 获取
     * @return department
     */
    public String getDepartment() {
        return department;
    }

    /**
     * 设置
     * @param department
     */
    public void setDepartment(String department) {
        this.department = department;
    }

    /**
     * 获取
     * @return classes
     */
    public String getClasses() {
        return classes;
    }

    /**
     * 设置
     * @param classes
     */
    public void setClasses(String classes) {
        this.classes = classes;
    }

    /**
     * 获取
     * @return dormitoryid
     */
    public String getDormitoryid() {
        return dormitoryid;
    }

    /**
     * 设置
     * @param dormitoryid
     */
    public void setDormitoryid(String dormitoryid) {
        this.dormitoryid = dormitoryid;
    }

    /**
     * 获取
     * @return phoneid
     */
    public String getPhoneid() {
        return phoneid;
    }

    /**
     * 设置
     * @param phoneid
     */
    public void setPhoneid(String phoneid) {
        this.phoneid = phoneid;
    }

    /**
     * 获取
     * @return entrytime
     */
    public Date getEntrytime() {
        return entrytime;
    }

    /**
     * 设置
     * @param entrytime
     */
    public void setEntrytime(Date entrytime) {
        this.entrytime = entrytime;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    public String toString() {
        return "Student{studentid = " + studentid + ", studentname = " + studentname + ", major = " + major + ", gender = " + gender + ", department = " + department + ", classes = " + classes + ", dormitoryid = " + dormitoryid + ", phoneid = " + phoneid + ", entrytime = " + entrytime + ", username = " + username + ", password = " + password + "}";
    }
}
